//
//  LPStarView.h
//  TestProject
//
//  Created by 李萍 on 2017/4/14.
//  Copyright © 2017年 李萍. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LPStarView : UIView

/*
 * count 点击显示的星星数量
 */
+ (instancetype)starViewWithChooseStarBlock:(void(^)(NSUInteger count))starViewChoosedStarBlock;

/*
 * 需要显示的星星数量
*/
@property (nonatomic, assign, readwrite) NSUInteger starCount;

/*
 * 星星之间的间距
 */
@property (nonatomic, assign, readwrite) CGFloat starSpacing;

/*
 * 星星的宽度
 */
@property (nonatomic, assign, readwrite) CGFloat starWidth;

/*
 * 关闭星星点击手势，关闭就不能点击
 * NO为不可点击，YES为可点击
 */
@property (nonatomic, assign, readwrite, getter=isTapEnabled) BOOL tapEnabled;



@end
